<?php include_once("../../../common/common_setting_unit.php");         // 引入通用的设置文件 ?>
<?php include_once(ROOT_PATH_ . "/controller/common/module/head.php"); // 引入通用的头部 ?>
<?php include_once("../controller/plate-edit.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <?php include ROOT_PATH_ . '/controller/common/module/head.php'; ?>
    <?php include 'modules/head.php'; ?>
    <!-- 多选 -->
    <?php include_once('modules/mod-multiple-select.php'); ?>
    <style>
        .tips{background-color: unset;}
        .layui-form-select dl dd, .layui-form-select dl dt,.layui-form-item .layui-form-checkbox[lay-skin=primary]{display: flex;align-items: center;height: 36px;}
    </style>
</head>

<body>

    <div id="topbar">
        <?php include ROOT_PATH_ . '/controller/common/module/topbar.php'; ?>
    </div>

    <div id="container" class="<? echo $system_part ?>">


            <div id="sidebar">
                <?php include ROOT_PATH_ . '/controller/common/module/sidebar.php'; ?>
            </div>

            <div id="content">
                <?php
                    if(!in_array("admin",$quanxian)){
                        echo "<span>暂无权限</span>";
                        exit;
                    }
                ?>
                <?php $page_title = '设置'; ?>
                <?php include ROOT_PATH_ . '/controller/common/module/mod-page-title.php'; ?>

                <div class="detail-box member-edit-box layui-form">
                    <div class="detail-boxes">
                        <ul class="detail-boxing">
                            <form id="edit-member-form" method="post"
                                  action="plate-edit-function.php?<?= $data['url_parameter'] ?>"
                                  enctype="multipart/form-data" class="layui-form">


                                <div class="layui-tab layui-tab-brief">
                                    <blockquote class="layui-elem-quote">设置板块管理员 权限：1.勾选任务完成 2.查看所有人的任务</blockquote>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">管理员</label>
                                        <div class="layui-input-block" id="ai_manager_user_id"></div>
                                        <!-- <input type="hidden" name="manager_user_id" value="123"> -->
                                    </div>

                                    <div class="layui-form-item">
                                        <label class="layui-form-label">侧边栏显示</label>
                                        <div class="layui-input-block" >
                                            <input type="radio" name="ai_sidebar_show"  value="显示"       title="显示"      <? if($_plate['setting']['sidebar_show']=="显示")      {echo "checked";} ?>>
                                            <input type="radio" name="ai_sidebar_show"  value="隐藏"       title="隐藏"      <? if($_plate['setting']['sidebar_show']=="隐藏")      {echo "checked";} ?>>
                                            <div class="notice">控制是否在侧边栏显示</div>
                                        </div>
                                    </div>


                                    <input type="hidden" name="sys_part" value="<? echo $_REQUEST['sys_part'] ?>">
                                    <input type="hidden" name="nowpageid" value="<? echo $_REQUEST['nowpageid'] ?>" />
                                    <input type="hidden" name="sortby" value="<? echo $_REQUEST['sortby'] ?>" />
                                    <div class="function">
                                        <div class="layui-input-block">
                                            <button class="layui-btn" lay-submit lay-filter="formMemberAdd" type="submit">立即提交</button>
                                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </ul>
                    </div>
                </div>

                <!--content端點01-->

            <br class="clearfloat" />
        </div>
        <!--container端點01-->
    </div>


    <?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?>
</body>

</html>